package com.link.base.base.questionnairesurvey.controller;

import com.link.base.base.questionnairesurvey.model.Answer;
import com.link.base.base.questionnairesurvey.service.AnswerService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * @author 刘鲁
 * @date 2018-07-04
 * @comments 作答用户答案
 */
@Controller
@RequestMapping("/link/answer")
public class AnswerController extends BasicController<Answer> {

    @Resource
    private AnswerService answerService;

    @Override
    public BasicService<Answer> getBasicService() throws Exception {
        return answerService;
    }
}
